SimplePay\Core\Transaction\TransactionObserver A

Total Complexity 72
Dependencies 5
Dependents 1
Total lines 880
Lines of code 497
Logical lines of code 174
Comment lines 278
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
update_on_checkout_session()
A
41 11 59
add_on_invoice()
A
43 8 50
add_on_order()
A
41 7 56
add_on_payment_intent()
A
43 7 51
update_on_invoice()
A
43 7 51
update_on_checkout_session_lite()
A
42 6 53
maybe_increment_stock()
S
50 7 29
maybe_decrement_stock_order()
S
51 6 26
maybe_decrement_stock()
S
53 6 23
get_subscribed_events()
S
48 2 37
update_on_payment_intent()
S
60 2 15
add_on_subscription()
S
54 1 22
add_on_checkout_session()
S
55 1 21
__construct()
S
77 1 4